﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>来本地,找促销,找商家</title>
     <link href="css/Default.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table style="width: 100%;">
            <tr>
                <td>
                   <a href="Default.aspx">促销</a>
                    &nbsp;
                </td>
                <td>
                
               <a href="SellerList.aspx">本地商家</a>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
           
        </table>
    
        
             <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="SellerAdd.aspx">SellerAdd</asp:HyperLink>
             
             <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="PromotionAdd.aspx">PromotionAdd</asp:HyperLink>
             
        
        <br />
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="reg.aspx">注册</asp:HyperLink>
  
      
        <br />
                <table style="width: 800px" border=1>
          
        <asp:Repeater ID="Repeater2" runat="server">
        <ItemTemplate>
        
          <tr>
            <td>
                     <%#  DataBinder.Eval(Container.DataItem, "SellerName") %>
                </td>
                <td>
                     <%#  DataBinder.Eval(Container.DataItem, "PromotionTitle") %>
                </td>
                <td>
                    <%#  DataBinder.Eval(Container.DataItem, "ActiveFromTime")%>-<%#  DataBinder.Eval(Container.DataItem, "ActiveToTime")%>
                </td>
                <td> <asp:Button ID="Button2" runat="server" Text="查看详细" />
                    &nbsp;
                </td>
            </tr>
      
        </ItemTemplate>
        </asp:Repeater>
          
        </table>

    </div>
    </form>
</body>
</html>
